package com.lifesea.dao.mybatis;

import com.lifesea.model.BaseDeptDoc;
import com.lifesea.model.BaseDeptDocExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BaseDeptDocMapper {
    int countByExample(BaseDeptDocExample example);

    int deleteByExample(BaseDeptDocExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(BaseDeptDoc record);

    int insertSelective(BaseDeptDoc record);

    List<BaseDeptDoc> selectByExample(BaseDeptDocExample example);

    BaseDeptDoc selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BaseDeptDoc record, @Param("example") BaseDeptDocExample example);

    int updateByExample(@Param("record") BaseDeptDoc record, @Param("example") BaseDeptDocExample example);

    int updateByPrimaryKeySelective(BaseDeptDoc record);

    int updateByPrimaryKey(BaseDeptDoc record);
}